<template>
    <div class="y-slider-item">
        <slot></slot>
    </div>
</template>

<script type="text/babel">
    export default {
        name: 'y-slider-item',
        mounted() {
            this.$nextTick(this.$parent.init);
        }
    }
</script>
